package com.plant.service;

import com.plant.pojo.Plant;

import java.util.List;

public interface PlantService {

   int addPlant(Plant plant);

   List<Plant> queryAll();

   Plant queryByRn(String resourceNumber);

   List<Plant> queryBySpecies(String species);

   void update(String resourceNumber, String name, String value);

   void delete(String resourceNumber);
}
